<?php
header("Content-Type: text/plain");

include ("../connexion.php");

$query = "select igc from `pgsim_flights` WHERE id= ".$_GET['flight_id']."";
$result = mysql_query($query);
$val = mysql_fetch_array($result);
echo $val['igc'];
?>